﻿@model MediaScraper.Dashboard.Models.FolderConfigModel

@{
    ViewBag.Title = "Folders";
}
<div id="folderSettings">
    @using (Ajax.BeginForm("UpdateFolderConfig", "Configuration", new AjaxOptions { UpdateTargetId = "folderSettings", HttpMethod = "POST" }))
    {
        @Html.ValidationSummary();
        <div class="form-group">
            @Html.LabelFor(m => m.DownloadFolder, new { @class = "col-lg-2 control-label" })
            <div class="col-lg-10">
                @(ViewData.ModelMetadata.IsReadOnly ? Html.TextBoxFor(m => m.DownloadFolder, new { @class = "form-control input-sm", @readonly = "readonly" }) : Html.TextBoxFor(m => m.DownloadFolder, new { @class = "form-control input-sm" }))
            </div>
        </div>
        <input type="submit" class="btn btn-primary" value="Save" />
    }
</div>



